package com.ruoyi.spin.domain.resp;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author houfy
 * @date 2022/9/3 17:50
 */
@NoArgsConstructor
@Data
public class SpinCoinRspDTO implements Serializable {
  private static final long serialVersionUID = 4665748373856456772L;

  @JsonProperty("data")
  private List<DataDTO> data;

  @NoArgsConstructor
  @Data
  public static class DataDTO {
    @JsonProperty("id")
    private Integer id;

    @JsonProperty("title")
    private String title;

    @JsonProperty("type")
    private Integer type;

    @JsonProperty("spin_number")
    private Integer spinNumber;

    @JsonProperty("coin_number")
    private Integer coinNumber;

    @JsonProperty("token")
    private String token;

    @JsonProperty("link")
    private String link;

    @JsonProperty("created_time")
    private String createdTime;
  }
}
